package cn.hls.service;

import java.util.List;

import cn.hls.entity.CarCategory;
import cn.hls.entity.vo.PageInfo;

/**
 *@fileName: CarCategoryService.java
 *@package: cn.christ.service
 *@Description: 车辆类型信息业务逻辑接口 
 *@author: yinghui.zhang
 *@email: uuhui@163.com
 *@date: 2015-8-9
 */
public interface CarCategoryService extends BaseService<CarCategory> {
	/**
	 * 分页显示车辆类型信息
	 * @param pageInfo  分页对象
	 * @param entity 车辆类型对象
	 * @throws Exception
	 */
   PageInfo<CarCategory> loadCarCategoryInfo(PageInfo<CarCategory> pageInfo ,CarCategory entity)throws Exception;
   /**
    * 根据名称或代码获取车辆类型信息
    * @param code 代码
    * @param name 名称
    * @return CarCategory
    * @throws Exception
    */
   CarCategory loadCarCategoryByName(String name)throws Exception;
   /**
    * 获取车辆类型信息
    * @param entity查询对象
    * @return List<CarCategory>
    */
   List<CarCategory> loadCarCategoryInfo(CarCategory entity)throws Exception;
}
